package com.yggdrasil.graphics;

import java.awt.image.BufferedImage;
import java.io.File;

import javax.imageio.ImageIO;

public class Tile {

	public static enum TYPE {
		GRASS("grass.jpg"), STONE(""), ROAD(""), WATER("");
		
		public BufferedImage img;
		
		TYPE(String imgSrc) {
			try {
				this.img = ImageIO.read(new File("src/grass.jpg"));
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
	}

	public static final int WIDTH = 64, HEIGHT = 64;

	TYPE type;

	public Tile(TYPE type) {
		this.type = type;
	}
}
